package Diamond;

import java.util.Scanner;

/**
 * Created by Msp on 24/04/14.
 */
public class Diamond {
    public static void main(String[] args) {
        int n = 3, i;
        Scanner in = new Scanner(System.in);
        n = in.nextInt();
        for (i = 0; i < n; i++) {
            for (int j = 0; j < (n-i-1); j++) {
                System.out.print(" ");
            }
            for (int j = 0; j < (2*i+1); j++) {
                System.out.print("*");
            }
            System.out.println("");
        }
        for (i -= 2; i >= 0; i--) {
            for (int j = 0; j < (n-i-1); j++) {
                System.out.print(" ");
            }
            for (int j = 0; j < (2*i+1); j++) {
                System.out.print("*");
            }
            System.out.println("");
        }
    }
}
